package com.he.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

/**
 * @author He
 * @version 1.0
 * @Date 2023/10/6 16:35
 * @Desc
 */
@Data
@Schema(description = "推荐DTO")
public class RecommendDTO {

    /**
     * id
     */
    @NotNull(message = "id不能为空")
    @Schema(description = "id")
    private Integer id;

    /**
     * 是否推荐 (0否 1是)
     */
    @NotNull(message = "推荐状态不能为空")
    @Schema(description = "是否推荐 (0否 1是)")
    private Integer isRecommend;
}
